package com.leihao.marketing.service;

import com.github.pagehelper.PageInfo;
import com.leihao.marketing.domain.ListRequest;
import com.leihao.marketing.domain.Preference;

import java.util.List;

public interface PreferenceService {
    void add(Preference preference);
    void delete(Integer preferenceId);
    PageInfo<Preference> findList(ListRequest listRequest);
    Preference findById(Integer preferenceId);
    void update(Preference preference);

    List<Preference> findAll();

}
